package com.findroader.blog.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class HomeController {
	@RequestMapping("{pageNo}")
	public String index(@PathVariable("pageNo")int pageNo){
     		System.out.println(pageNo);
		return "/home";
	}
	
}
